package com.authine.cloudpivot.ext.dto.inquiry;

import com.authine.mvp.app.launcher.domain.AttachmentFormat;
import com.authine.mvp.app.launcher.domain.SelectorFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName CreateInquiryGoodsDto
 * @Description: 创建询价商品
 * @Author fj
 * @Date 2021/6/4
 * @Version V1.0
 **/
@Data
@Schema(description = "CreateInquiryGoodsDto")
public class CreateInquiryGoodsDto {
    @Schema(description = "id")
    private String id;

    @Schema(description = "单据状态")
    private String status;

    @Schema(description = "询价单id")
    private String inquiry_id;

    @Schema(description = "需求商品id")
    private String demand_goods_id;

    @Schema(description = "状态")
    private String inquiry_goods_status;

    @Schema(description = "客户料号")
    private String sku;

    @Schema(description = "条形码")
    private String bar_code;

    @Schema(description = "询价商品名称")
    private String name;

    @Schema(description = "询价商品品牌")
    private String brand;

    @Schema(description = "询价商品型号")
    private String model;

    @Schema(description = "询价商品规格")
    private String spec;

    @Schema(description = "发货地")
    private String address;

    @Schema(description = "货期")
    private Integer delivery;

    @Schema(description = "数量")
    private BigDecimal num;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "包装数量")
    private BigDecimal package_num;

    @Schema(description = "包装单位")
    private String package_unit;

    @Schema(description = "报价次数")
    private Integer quote_count;

    @Schema(description = "限价")
    private BigDecimal quote_max_price_limit;

    @Schema(description = "是否可以替换物品")
    private Boolean quote_edit_limit;

    @Schema(description = "附件信息")
    private List<AttachmentFormat> attachment;

    @Schema(description = "参考链接")
    private String url;

    @Schema(description = "备注")
    private String memo;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "操作人")
    private List<SelectorFormat> operator;

    @Schema(description = "外部来源id")
    private String client_id;

    @Schema(description = "外部来源询价商品id")
    private String client_inquiry_goods_id;

    @Schema(description = "参与次数")
    private Integer partake_count;

    @Schema(description = "是否上传品牌代理资质")
    private Boolean item_type;

    @Schema(description = "安全库存数")
    private BigDecimal safety_stock_num;

    @Schema(description = "定标")
    private Boolean picketaged;

    @Schema(description = "是否有澄清记录")
    private Boolean clarify_record;

    @Schema(description = "审核")
    private String pass;

    @Schema(description = "原因")
    private String reason;

    @Schema(description = "原询价商品id")
    private String original_inquiry_goods_id;

    @Schema(description = "需求部门")
    private List<SelectorFormat> demand_department;

    @Schema(description = "最大库存量")
    private BigDecimal maximum_stock;

    @Schema(description = "询价截止理由")
    private String closing_reason;

    @Schema(description = "是否需要样本")
    private Boolean is_require_sample;

    @Schema(description = "虚拟供应商是否参与")
    private String participation;

    @Schema(description = "澄清状态")
    private String clarify_status;

    @Schema(description = "澄清次数")
    private Integer clarify_number;

    @Schema(description = "报价供应商ids")
    private String quotation_vendor_ids;

    @Schema(description = "区域")
    private String area;

    @Schema(description = "公司")
    private String company;

    @Schema(description = "仓库")
    private String warehouse;

    @Schema(description = "客户端采购申请单号")
    private String client_purchase_request;

    @Schema(description = "平台类目名称")
    private String platform_category_name;

    @Schema(description = "组织类目名称")
    private String org_category_name;

    @Schema(description = "询价单标题")
    private String inquiry_name;

    @Schema(description = "询价截止时间")
    private String expire;

    @Schema(description = "询价人")
    private String member_name;

    @Schema(description = "询价组织")
    private String organization_company_name;

    @Schema(description = "账期")
    private Integer account_period;

    @Schema(description = "平台类目")
    private String category_id;

    @Schema(description = "询价单-联系人")
    private String inquiry_contacts;

    @Schema(description = "询价单-联系电话")
    private String inquiry_mobile;

    @Schema(description = "询价单-发布日期")
    private String inquiry_release_time;

    @Schema(description = "询价单-询价方式")
    private String inquiry_vendor_scope;

    @Schema(description = "询价单-整单询价")
    private Boolean inquiry_quote_total_strategy;

    @Schema(description = "询价单-是否多次购买")
    private Boolean inquiry_quote_mul_purchases;
}
